package com.gtr.service;

import com.gtr.entity.VaccinumInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gtr.vo.SellerVaccinumInfoVO2;
import com.gtr.vo.SellerVaccinumInfoVO3;
import com.gtr.vo.VaccinumExcelVO;

import java.io.InputStream;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 疫苗表 服务类
 * </p>
 *
 * @author gtr
 * @since 2023-02-27
 */
public interface VaccinumInfoService extends IService<VaccinumInfo> {
    public BigDecimal findPriceById(Integer id);
    public Boolean subStockById(Integer id,Integer quantity);
    public Boolean addStock(Integer id,Integer quantity);
    public SellerVaccinumInfoVO2 sellerVaccinumInfoVO(Integer page, Integer size);
    public SellerVaccinumInfoVO2 sellerVaccinumInfoVOLike(String keyWord,Integer page, Integer size);
    public SellerVaccinumInfoVO2 sellerVaccinumInfoVOByCategoryType(Integer categoryType,Integer page, Integer size);
    public SellerVaccinumInfoVO3 sellerVaccinumInfoVOById(Integer id);
    public List<VaccinumExcelVO> excelVOList();
    public List<VaccinumInfo> excleToVaccinumInfoList(InputStream inputStream);
}
